﻿using Microsoft.EntityFrameworkCore;
using GenericRepositoryUnitOfWorkDemo.Domain.Orders;
using GenericRepositoryUnitOfWorkDemo.Domain.OrderEventLogs;

namespace GenericRepositoryUnitOfWorkDemo.Infrastructure.EfCore;

public class AppDbContext : DbContext
{
    public AppDbContext(DbContextOptions<AppDbContext> options)
        : base(options)
    {
    }

    public DbSet<Order> Orders { get; set; }
    public DbSet<OrderEventLog> OrderEventLogs { get; set; }
}